<!DOCTYPE html>
<html>
<head>
	<title>1111</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script src="http://ddhg.xmxbox.com/js/jquery-3.1.1.min.js"></script>
</head>
<body>
	目标排放：<input id="111" type="" name="" value="">
			<div id="222">提交</div>
			<div id="333">重置<div>
	<script>
		$("#222").click(function(){
			var value=$("input").val();
            console.log(value);
		  localStorage.setItem('key', value);
		});
		$("#333").click(function(){
		  localStorage.setItem('key', 0);
		});
	</script>
</body>
</html>